#include <iostream>
#include <thread>
#include "util.hpp"
#include "config.hpp"
#include "datamanage.hpp"
#include "hotmanage.hpp"
#include "service.hpp"

int main()
{
    std::thread hot([](){
        cloud::HotManage().RunModule();
    });

    cloud::Service().RunModule();
    hot.join();
    return 0;
}